package com.base.common.edu.mapper;

import com.base.common.edu.entity.StuLeaveLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Maple.Chen
 * @Description 数据交互层 - 请假记录
 * @Date 16:09 2021/2/25
 **/
@Mapper
@Repository
public interface StuLeaveLogMapper {

    // 新增学生请假记录
    int addStuLeaveLog(@Param("leave")StuLeaveLog stuLeaveLog);
    // 删除学生请假记录
    int delStuLeaveLog(Integer leave__id);
    // 查询学生请假记录
    List<StuLeaveLog> queryStuLeaveLog(@Param("leave")StuLeaveLog stuLeaveLog);
    // 修改学生请假记录
    int updateStuLeaveLog(@Param("leave")StuLeaveLog stuLeaveLog);

}
